added samples
[windows-sources.git] / sdk / samples / all in on code / Visual Studio 2008 / CSAzureWCFWorkerRole / Client / Service References / ServiceReference1 / service.wsdl
blob2c1c18000062570f5d51a30979401d0f342e3cc5
1 <?xml version="1.0" encoding="utf-8"?>
2 <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:tns="http://tempuri.org/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" name="MyService" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
3   <wsp:Policy wsu:Id="NetTcpBinding_IMyService_policy">
4     <wsp:ExactlyOne>
5       <wsp:All>
6         <msb:BinaryEncoding xmlns:msb="http://schemas.microsoft.com/ws/06/2004/mspolicy/netbinary1">
7         </msb:BinaryEncoding>
8         <wsaw:UsingAddressing>
9         </wsaw:UsingAddressing>
10       </wsp:All>
11     </wsp:ExactlyOne>
12   </wsp:Policy>
13   <wsdl:types>
14     <xsd:schema targetNamespace="http://tempuri.org/Imports">
15       <xsd:import namespace="http://tempuri.org/" />
16       <xsd:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
17     </xsd:schema>
18   </wsdl:types>
19   <wsdl:message name="IMyService_DoWork_InputMessage">
20     <wsdl:part name="parameters" element="tns:DoWork" />
21   </wsdl:message>
22   <wsdl:message name="IMyService_DoWork_OutputMessage">
23     <wsdl:part name="parameters" element="tns:DoWorkResponse" />
24   </wsdl:message>
25   <wsdl:portType name="IMyService">
26     <wsdl:operation name="DoWork">
27       <wsdl:input wsaw:Action="http://tempuri.org/IMyService/DoWork" message="tns:IMyService_DoWork_InputMessage" />
28       <wsdl:output wsaw:Action="http://tempuri.org/IMyService/DoWorkResponse" message="tns:IMyService_DoWork_OutputMessage" />
29     </wsdl:operation>
30   </wsdl:portType>
31   <wsdl:binding name="NetTcpBinding_IMyService" type="tns:IMyService">
32     <wsp:PolicyReference URI="#NetTcpBinding_IMyService_policy">
33     </wsp:PolicyReference>
34     <soap12:binding transport="http://schemas.microsoft.com/soap/tcp" />
35     <wsdl:operation name="DoWork">
36       <soap12:operation soapAction="http://tempuri.org/IMyService/DoWork" style="document" />
37       <wsdl:input>
38         <soap12:body use="literal" />
39       </wsdl:input>
40       <wsdl:output>
41         <soap12:body use="literal" />
42       </wsdl:output>
43     </wsdl:operation>
44   </wsdl:binding>
45   <wsdl:service name="MyService">
46     <wsdl:port name="NetTcpBinding_IMyService" binding="tns:NetTcpBinding_IMyService">
47       <soap12:address location="net.tcp://localhost:9001/MyServiceEndpoint" />
48       <wsa10:EndpointReference>
49         <wsa10:Address>net.tcp://localhost:9001/MyServiceEndpoint</wsa10:Address>
50       </wsa10:EndpointReference>
51     </wsdl:port>
52   </wsdl:service>
53 </wsdl:definitions>